﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace MyAnim.Models
{
    public class FileModel
    {
        public FileModel(String ShortName, String nUrl)
        {
            Url = nUrl;
            FileShortName = ShortName;
        }

        [DataType(DataType.Url)]
        [Display(Name = "Lien")]
        public string Url
        {
            get;
            set;
        }

        [DataType(DataType.Text)]
        public string FileShortName
        {
            get;
            set;
        }
    }
}